package com.zz.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import com.zz.entity.Sections;
import com.zz.entity.Teachers;
import com.zz.entity.TeachersSearch;

public interface TeachersService {
	public List<Teachers> findAll();
	/**
	 * 查询+分页
	 * @param s
	 * @param page
	 * @param limit
	 * @return
	 */
	Page<Teachers>find(TeachersSearch t, Integer page,Integer limit);
	//修改，添加
	Integer save(Teachers t,Sections s);
	//删除
	Integer delete(Integer id);
	Integer count();
	//excel导入
	void getExcelTeachers(MultipartFile file) throws Exception;

}
